//
//  StoreHomeApi.h
//  jingdongfang
//
//  Created by MTiMac01 on 2018/1/19.
//  Copyright © 2018年 LJL. All rights reserved.
//

#import "IGBaseRequest.h"

@interface StoreHomeApi : IGBaseRequest

@end

@interface GoodsListModel : IGBaseModel
@property (nonatomic, copy)NSString *aId;//商品id
@property (nonatomic, copy)NSString *title;//商品名称
@property (nonatomic, copy)NSString *price;//商品价格
@property (nonatomic, copy)NSString *image;//商品主图
@end
@protocol GoodsListModel <NSObject>

@end


@interface StoreListModel : IGBaseModel
@property (nonatomic, copy)NSString *parentId;//商品类别id
@property (nonatomic, copy)NSString *parentTitle;//商品类别名称
@property (nonatomic, copy)NSArray *childTypeList;//二级类别列表
@property (nonatomic, copy)NSArray<GoodsListModel> *goodsList;//商品列表
@end
@protocol StoreListModel <NSObject>

@end


@interface StoreHomeModel : IGBaseModel
@property (nonatomic, copy)NSArray<StoreListModel> *goodsAllList;//商城首页列表
@end

@interface StoreHomeResp : IGBaseResp
@property (nonatomic, copy) StoreHomeModel *data;
@end
